package com.Entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Clubrole entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "clubrole", catalog = "monitor")
public class Clubrole implements java.io.Serializable {

	// Fields

	private Integer roleId;
	private Integer userId;
	private Integer roleValue;

	// Constructors

	/** default constructor */
	public Clubrole() {
	}

	/** minimal constructor */
	public Clubrole(Integer roleId) {
		this.roleId = roleId;
	}

	/** full constructor */
	public Clubrole(Integer roleId, Integer userId, Integer roleValue) {
		this.roleId = roleId;
		this.userId = userId;
		this.roleValue = roleValue;
	}

	// Property accessors
	@Id
	@Column(name = "roleId", unique = true, nullable = false)
	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	@Column(name = "userId")
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "roleValue")
	public Integer getRoleValue() {
		return this.roleValue;
	}

	public void setRoleValue(Integer roleValue) {
		this.roleValue = roleValue;
	}

}